export default {
  path: "/purchase",
  name: "/purchase/save",
  meta: {
    icon: "gala:bag",
    title: "采购管理",
    rank: 2
  },
  children: [
    {
      path: "/purchase/list",
      name: "purchaselist",
      component: () => import("@/views/purchase/purchaselist.vue"),
      meta: {
        icon:"prime:align-left",
        title: "采购单列表",
        showParent:true
      }
    },
    {
      path: "/purchase/save",
      name: "savepurchase",
      component: () => import("@/views/purchase/SavePurchase.vue"),
      meta: {
        icon: "ant-design:file-add-outlined",
        title: "新增采购单",
        showParent:true
      }
    },
    {
      path: "/purchase/edit/:id",
      name: "editpurchase",
      component: () => import("@/views/purchase/editPurchase.vue"),
      meta: {
        title: "编辑采购单",
        showParent:true,
        showLink:false
      }
    }
  ]
} satisfies RouteConfigsTable;
